/**
 * Alibaba.com.cn Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package com.starlink.common.strategy;

import com.starlink.common.annotation.client.weixin.UserPurchaseRes;
import com.starlink.common.domain.BaseVO;
import com.starlink.common.enums.StarTypeEnum;
import com.starlink.model.domain.OtherOrderDO;
import com.starlink.model.request.other.StarOrderSubmitRequest;

/**
 * 星健康、星辅育，星文旅支付相关接口
 * @author zhanghong
 * @version IStarOrder.java, v 0.1 2024/4/25 23:30 下午 IStarOrder Exp $$
 */
public interface IStarOrder {

    /**
     * 是否支持
     * @return
     */
    boolean supports(StarTypeEnum starTypeEnum);

    /**
     * 创建订单并返回微信预支付参数
     * @return
     */
    UserPurchaseRes prePayment(StarOrderSubmitRequest request);

    /**
     * 获取业务对象
     * @param bizId
     * @return
     */
    BaseVO getBizInfo(Long bizId);
}
